package com.huatai.dataservice.fire.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huatai.dataservice.domain.TbFireWorkingPressure;
import com.huatai.dataservice.fire.service.TbFireWorkingPressureService;
import com.huatai.dataservice.fire.mapper.TbFireWorkingPressureMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
* @author htzy
* @description 针对表【tb_fire_working_pressure(消防工作压力记录表)】的数据库操作Service实现
* @createDate 2025-06-05 15:34:47
*/
@Service
public class TbFireWorkingPressureServiceImpl extends ServiceImpl<TbFireWorkingPressureMapper, TbFireWorkingPressure>
    implements TbFireWorkingPressureService{

    @Autowired
    private TbFireWorkingPressureMapper tbFireWorkingPressureMapper;
    /**
     * @return
     * @Author gaowengui
     * @Decription //TODO a
     * @Date 11:10 2025/6/10
     * @Param
     **/
    @Override
    public List<TbFireWorkingPressure> selectByNameAndDep(LambdaQueryWrapper<TbFireWorkingPressure> lambdaQuery) {
        return tbFireWorkingPressureMapper.selectList(lambdaQuery);
    }

    /**
     * @return
     * @Author gaowengui
     * @Decription //TODO a
     * @Date 12:06 2025/6/10
     * @Param
     **/
    @Override
    public List<TbFireWorkingPressure> selectAllDep(LambdaQueryWrapper<TbFireWorkingPressure> objectLambdaQueryWrapper) {
        return tbFireWorkingPressureMapper.selectList(objectLambdaQueryWrapper);
    }
}




